package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.ExperimentProcessSampleReady;
import com.zhijian.medical.entity.vo.request.ExperimentProcessSampleReadySearchVo;
import com.zhijian.medical.entity.vo.response.ExperimentProcessSampleReadyListVo;
import com.zhijian.medical.entity.vo.response.ExperimentProcessSampleReadyVo;

import java.util.List;

public interface ExperimentProcessSampleReadyMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ExperimentProcessSampleReady record);

    int insertSelective(ExperimentProcessSampleReady record);

    ExperimentProcessSampleReady selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ExperimentProcessSampleReady record);

    int updateByPrimaryKey(ExperimentProcessSampleReady record);

    int count(ExperimentProcessSampleReadySearchVo experimentProcessSampleReadySearchVo);

    List<ExperimentProcessSampleReadyListVo> selectList(ExperimentProcessSampleReadySearchVo experimentProcessSampleReadySearchVo);

    ExperimentProcessSampleReadyVo selectVoById(Long id);

    /**
     * 主键查询listVo
     *
     * @param id
     * @return
     */
    ExperimentProcessSampleReadyListVo selectListVoById(Long id);

    /**
     * 根据实验流程id查询vo
     *
     * @param experimentProcessId
     * @return
     */
    ExperimentProcessSampleReadyVo selectVoByExperimentProcessId(Long experimentProcessId);

    /**
     * 根据实验流程id进行删除
     *
     * @param experimentProcessId
     * @return
     */
    int deleteByExperimentProcessId(Long experimentProcessId);
}